package com.example.blog.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.util.Date;

/**
 * @ClassName: CommentsDto
 * @Description:

 * @Date 2024/1/27
 * @Version 1.0
 */
@Data
@NoArgsConstructor
public class CommentsDto {
    @ApiModelProperty("id")
    private String id;
    @ApiModelProperty("评论内容")
    private String content;
    @ApiModelProperty("评论者")
    private String userId;
    @ApiModelProperty("评论时间")
    private Date cTime;
    @ApiModelProperty("帖子id")
    private String postInfoId;
}
